package com.hns.can.base.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.hns.can.common.entity.BaseEntity;

/**
 * 资源
 * @author:Fisher
 * @email:zhuangcaijin@126.com
 * @version Revision 2.0.0
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "T_SYS_RESOURCE_CTRL")
public class SysResourceCtrlEntity extends BaseEntity{

	// Fields
	@Id
	@Column(name = "ID")
	private String id;

	@Column(name = "RES_TYPE")
	private String resType;

	@Column(name = "IS_POWER_CTRL")
	private String isPowerCtrl;

	@Column(name = "CREATE_TS")
	private Date createTs;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getResType() {
        return resType;
    }

    public void setResType(String resType) {
        this.resType = resType;
    }

    public String getIsPowerCtrl() {
        return isPowerCtrl;
    }

    public void setIsPowerCtrl(String isPowerCtrl) {
        this.isPowerCtrl = isPowerCtrl;
    }

    public Date getCreateTs() {
        return createTs;
    }

    public void setCreateTs(Date createTs) {
        this.createTs = createTs;
    }
}